package com.coding.dao;

import com.coding.pojo.Teacher;

public interface TeacherDao {
    int deleteByPrimaryKey(Integer teacher_id);

    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectByPrimaryKey(Integer teacher_id);

    Teacher selectByUserId(Integer user_id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
}